Part Number Hot Search : 
NJM431U MC33151 RA121 TLGE27CF KP200A V321DB40 74HC147 RS432AMG
Product Description
Full Text Search
 

To Download DS1511 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 20 rev: 031704 note: some revisions of this device may incorporate deviations from published specifications known as errata. multiple revisions of any device may be simultaneously available through various sales channels. for information about device errata, click here: www.maxim-ic.com/errata . general description the ds1501/DS1511 are full-function, year 2000- compliant real-time clock/calendars (rtcs) with an rtc alarm, watchdog timer, power-on reset, battery monitors, 256 bytes nv sram, and a 32.768khz output. user access to all registers within the ds1501/DS1511 is accomplished with a byte-wide interface, as shown in figure 8. the rtc registers contain century, year, month, date, day, hours, minutes, and seconds data in 24-hour binary-coded decimal (bcd) format. corrections for day of month and leap year are made automatically. applications remote systems battery-backed systems telecom switches office equipment consumer electronics ordering information part temp range pin-package ds1501 yn -40c to +85c 28 dip (600 mil) ds1501yen -40c to +85c 28 tsop ds1501ysn -40c to +85c 28 so (330 mil) ds1501wn -40c to +85c 28 dip (600 mil) ds1501wen -40c to +85c 28 tsop ds1501wsn -40c to +85c 28 so (330 mil) DS1511 y 0c to +70c 28 module (720 mil) DS1511w 0c to +70c 28 module (720 mil) selector guide appears at end of data sheet. typical operating circuits appears at end of data sheet. features  bcd-coded century, year, month, date, day, hours, minutes, and seconds with automatic leap-year compensation valid up to the year 2100  programmable watchdog timer and rtc alarm  century register; y2k-compliant rtc  +3.3 or +5v operation  precision power-on reset  power-control circuitry support system power- on from date/day/time alarm or key closure/modem-detect signal  256 bytes battery-backed nv sram  auxiliary battery input  accuracy of DS1511 better than 1 minute/month at +25c  day-of-week/date alarm register  crystal select bit allow rtc to operate with 6pf or 12.6pf crystal  battery voltage-level indicator flags  available as chip (ds1501) or stand-alone module with embedded battery and crystal (DS1511)  ul recognized pin configuration ds1501/DS1511 y2k-compliant watchdog real-time clocks www.maxim-ic.com top view dallas semiconductor ds1501 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 sqw gnd dq7 dq6 dq5 dq4 dq3 we ks oe ce v cc v baux v bat x1 x2 a 4 a 3 a 2 a 1 a 0 dq0 dq1 dq2 gnd p w r r st i r q dip, so pin configurations are continued at end of data sheet.
ds1501/DS1511 y2kc watchdog real-time clocks 2 of 20 absolute maximum ratings voltage range on any pin relative to ground????????????????????..??....-0.5v to +6.0v operating temperature range (module)??????????????????????..???....0c to +70c operating temperature range, ds1501 ??????????????????.. -40c to +85c (note 1) operating temperature range, DS1511????????????????????????.??..0c to +70c storage temperature range, ds1501 ???????...?????????????.... -55c to +125c storage temperature range, DS1511???? ?????????????????????.?..-40c to +70c soldering temperature (dip, module)?.???????.+260c lead temperature for 10 seconds (max) (note 2) soldering temperature (so, tsop) ??.?????.. see ipc/jedec j-std-020a for surface-mount devices stresses beyond those listed under ?absolute maximum ratings? may cause permanent damage to the device. these are stress rating s only, and functional operation of the device at these or any other conditions beyond those indicated in the operational sections of t he specifications is not implied. exposure to the absolute maximum rating conditions for extended periods may affect device reliability. recommended dc operating conditions (v cc = 3.3v or 5v 10%, t a = 0c to +70c; v cc = 3.3v or 5v 10%, t a = -40c to +85c.) parameter symbol conditions min typ max units 5v (y) 4.5 5.0 5.5 power supply voltage (note 3) v cc 3.3v (w) 3.0 3.3 3.6 v y 2.2 v cc + 0.3 logic 1 voltage all inputs (note 3) v ih w 2.0 v cc + 0.3 v pullup voltage, irq , pwr , and rst outputs (note 3) v pu 5.5 v y -0.3 +0.8 logic 0 voltage all inputs (note 3) v il w -0.3 +0.6 v battery voltage (note 3) v bat 2.5 3.0 3.7 v y 2.5 3.0 5.3 auxiliary battery voltage (note 3) v baux w 2.5 3.0 3.7 v dc electrical characteristics (v cc = 3.3v or 5v 10%, t a = 0c to +70c; v cc = 3.3v or 5v 10%, t a = -40c to +85c.) parameter symbol conditions min typ max units y 15 active supply current (note 4) i cc w 10 ma y 5 ttl standby current ( ce = v ih ) i cc1 w 4 ma y 5 cmos standby current ( ce = v cc - 0.2v) i cc2 w 4 ma input leakage current (any input) i il -1 +1  a output leakage current (any output) i ol -1 +1  a output logic 1 voltage (i out = -1.0ma) v oh (note 3) 2.4 v v ol1 (note 3) 0.4 v output logic 0 voltage (i out = 2.1ma, dq0?7; i out = 5.0ma, irq , i out = 7.0ma, pwr and rst ) v ol2 (notes 3, 5) 0.4 v y 2.0 battery low, flag trip point (note 2) v blf w 1.9 v y 4.20 4.50 power-fail voltage (note 2) v pf w 2.75 2.97 v battery switchover voltage (notes 3, 6) v so v bat, v baux, or v pf v battery leakage current i lkg 100 na
ds1501/DS1511 y2kc watchdog real-time clocks 3 of 20 dc electrical characteristics (v cc = 0v; t a = 0c to +70c; v cc = 0v, t a = -40c to +85c.) parameter symbol conditions min typ max units battery current, bb32 = 0, eosc = 0 i bat1 (note 7) 0.27 1.0  a battery current, bb32 = 0, eosc = 1 i bat2 (note 7) 0.01 0.1  a v baux current bb32 = 1, sqw open i baux (note 7) 2  a crystal specifications* parameter symbol conditions min typ max units nominal frequency f o 32.768 khz series resistance esr 45 k  load capacitance c l 6 pf *the crystal, traces, and crystal input pins should be isolated from rf generating signals. refer to application note 58: crystal considerations for dallas real-time clocks for additional specifications. ac operating characteristics (v cc = 5v 10%, t a = 0c to +70c; v cc = 5v 10%, t a = -40c to +85c.) parameter symbol conditions min typ max units read cycle time t rc 70 ns address access time t aa 70 ns ce to dq low-z t cel (note 8) 5 ns ce access time t cea 70 ns ce data-off time t cez (note 8) 25 ns oe to dq low-z (0c to +85c) t oel (note 8) 5 ns oe to dq low-z (-40c to 0c) t oel (note 8) 2 ns oe access time t oea 35 ns oe data-off time t oez (note 8) 25 ns output hold from address t oh 5 ns write cycle time t wc 70 ns address setup time t as 0 ns we pulse width t wew 50 ns ce pulse width t cew 55 ns data setup time t ds 30 ns data hold time t dh 5 ns address hold time t ah 0 ns we data-off time t wez (note 8) 25 ns write recovery time t wr 15 ns pulse width, oe , we , or ce high pw high 20 ns pulse width, oe , we , or ce low pw low 70 ns
ds1501/DS1511 y2kc watchdog real-time clocks 4 of 20 ac operating characteristics ( v cc = 3.3v 10% , t a = 0c to +70c; v cc = 3.3v 10% , t a = -40c to +85c.) parameter symbol conditions min typ max units read cycle time t rc 120 ns address access time t aa 120 ns ce to dq low-z t cel (note 8) 5 ns ce access time t cea 120 ns ce data off time t cez (note 8) 40 ns oe to dq low-z (0c to +85c) t oel (note 8) 5 ns oe to dq low-z (-40c to 0c) t oel (note 8) 2 ns oe access time t oea 100 ns oe data-off time t oez (note 8) 35 ns output hold from address t oh 5 ns write cycle time t wc 120 ns address setup time t as 0 ns we pulse width t wew 100 ns ce pulse width t cew 110 ns data setup time t ds 80 ns data hold time t dh 5 ns address hold time t ah 5 ns we data-off time t wez (note 8) 40 ns write recovery time t wr 15 ns pulse width, oe , we , or ce high pw high 40 ns pulse width, oe , we , or ce low pw low 100 ns figure 1. read cycle timing t rc t cea t oea t cel t oel t oh t oez t aa valid dq0-dq7 o e c e a0?a4 t cez
ds1501/DS1511 y2kc watchdog real-time clocks 5 of 20 figure 2. write cycle timing, write-enable controlled figure 3. write cycle timing, chip-enable controlled t wc t ah t ds t as t wez t dh t wr t as data input dq0?dq7 w e c e a0?a4 data output data input t wew valid valid t wc t a h t d s t as t d h t w r t as data input dq0-dq7 we ce a0-a4 data input t c e w valid valid
ds1501/DS1511 y2kc watchdog real-time clocks 6 of 20 figure 4. burst mode timing waveform a0?a4 dq0?dq7 o e , we , or ce 13h pw high pw low power-up/down characteristics parameter symbol conditions min typ max units ce or we at v ih before power-fail t pf 0  s v cc fall time: v pf(max) to v pf(min) t f 300  s v cc fall time: v pf(min) to v so t fb 10  s v cc rise time: v pf(min) to v pf(max) t r 0  s v pf to rst high t rec 35 200 ms (t a = +25c) parameter symbol conditions min typ max units expected data-retention time (oscillator on) t dr (note 9) 10 years capacitance (t a = +25c) parameter symbol conditions min typ max units capacitance on all input pins c in 10 pf capacitance on irq , pwr , rst , and dq pins c io 10 pf ac test conditions output load input pulse levels timing measurement reference levels input pulse rise and fall times (y) 50pf + 1ttl gate input: 1.5v (w) 25pf + 1 ttl gate 0v to 3.0v for 5v operation output: 1.5v 5ns
ds1501/DS1511 y2kc watchdog real-time clocks 7 of 20 figure 5. 3.3v power-up/down waveform timing figure 6. 5v power-up/down waveform timing warning: under no circumstances are negative undershoots, of any amplitude, allowed when device is in battery- backup mode.
ds1501/DS1511 y2kc watchdog real-time clocks 8 of 20 wakeup/kickstart timing (t a = +25c) (figure 7) parameter symbol conditions min typ max units kickstart-input pulse width t kspw 2  s wakeup/kickstart power-on timeout t poto (note 10) 2 s note: time intervals shown above are referenced in wakeup/kickstart . figure 7. wakeup/kickstart timing diagram t kspw t poto v cc co n dit io n : v pf v bat < v pf v bat 0v v bat v pf 0v v cc co n dit io n : v bat v pf > tdf/ksf (internal) v il v ih hi-z ____ ir q v il v ih hi-z ____ pw r v ih v il ___ ks 1 2 3 4 5 inter vals note 1: limits at -40c are not production tested and are guaranteed by design. note 2: rtc modules can be successfully processed through conventional wave-soldering techniques as long as temperature exposure to th e lithium energy source contained within does not exceed +85c. post-sold cleaning with water-washing techniques is acceptable, provided that ultrasonic vibration is not used to prevent damage to the crystal. note 3: voltage referenced to ground. note 4: outputs are open. note 5: the irq , pwr , and rst outputs are open drain. note 6: if v pf is less than v bat and v baux , the device power is switched from v cc to the greater of v bat or v baux when v cc drops below v pf . if v pf is greater than v bat and v baux , the device power is switched from v cc to the greater of v bat or v baux when v cc drops below the greater of v bat or v baux . note 7: v bat or v baux current. using a 32,768hz crystal connected to x1 and x2. note 8: these parameters are sampled with a 5pf load and are not 100% tested. note 9: t dr is the amount of time that the internal battery can power the internal oscillator and internal registers of the DS1511. note 10: if the oscillator is not enabled, the startup time of the oscillator after v cc1 is applied will be added to the wakeup/kickstart timeout. note 11: typical values are at +25c, nominal (active) supply, unless otherwise noted.
ds1501/DS1511 y2kc watchdog real-time clocks 9 of 20 pin description pin dip, so module tsop name function 1 1 8 pwr active-low power-on output (open drain). this output, if used, is normally connected to power-supply control circuitry. this pin requires a pullup resistor connected to a positive supply to operate correctly. 2, 3 ? 9, 10 x1, x2 connections for standard 32.768khz quartz crystal. for greatest accuracy, the ds1501 must be used with a crystal that has a specified load capacitance of either 6pf or 12.5pf. the crystal select (cs) bit in control register b is used to select operation with a 6pf or 12.5pf crystal. the crystal is attached directly to the x1 and x2 pins. there is no need for external capacitors or resistors. an external 32.768khz oscillator can also drive the ds1501. in this configuration, the x1 pin is connected to the external oscillator si gnal and the x2 pin is floated. for more information about crystal selection and crystal layout considerations, refer to application note 5 8: crystal considerations with dallas real-time clocks . see figure 9. an enable bit in the month register controls the oscillator. oscillator startup time is highly dependent upon crystal characteristics, pc board leakage, and layout. high esr and excessive capacitive loads are the major contributors to long startup times. a circuit using a crystal with the recommended characteristics and proper layout usually starts within one second. 4 4 11 rst active-low reset output. (open drain). this output, if used, is normally connected to a microprocessor-reset input. this pin requires a pull up resistor connected to a positive supply to operate correctly. when rst is active, the device is not accessible. 5 5 12 irq active-low interrupt output (open drain). this output, if used, is normally connected to a microprocessor interrupt input. this pin requires a pullup resistor connected to a positive supply to operate correctly. 6?10 6?10 13?17 a4?a0 address inputs. selects one of 17 register locations. 11?13, 15?19 11?13, 15?19 18?20, 22?26 dq0?dq7 data input/output. i/o pins for 8-bit parallel data transfer. 14, 21 14 21, 28 gnd ground. dc power is applied to the device on these pins. v cc is the positive terminal. when power is applied within the normal limits, the device is fully accessible and data can be written and read. when v cc drops below the normal limits, reads and writes are inhibited. as v cc drops below the battery voltage, the ram and timekeeping circuits are switched over to the battery. 22 22 1 oe output-enable input. active-low input that enables dq0?dq7 for data output from the device. 20 20 27 ce chip-enable input. active-low input to enable the device. 23 23 2 sqw square-wave output. when enabled, the sqw pin outputs a 32.768khz square wave. if the square wave ( e32k ) and battery backup 32khz (bb32) bits are enabled, power is provided by v baux when v cc is absent. 24 24 3 ks active-low kickstart input. this pin is used to wake up a system from an external event, such as a key closure. the ks pin is normally connected using a pullup resistor to v baux . if the ks function is not used, connect to ground. 25 ? 4 v bat battery input for any standard 3v lithium cell or other energy source. battery voltage must be held between 2.5v and 3.7v for proper operation. ul recognized to ensure against reverse charging current when used with a lithium battery. if not used, connect to ground.* 26 26 5 v baux auxiliary battery i nput for any standard 3v lithium cell or other energy source. battery voltage must be held between 2.5v and 3.7v for proper operation. ul recognized to ensure against reverse charging current when used with a lithium battery. if not used, connect to ground.* 27 27 6 we write-enable input. active-low input that enables dq0?dq7 for data input to the device. 28 28 7 v cc dc power. v cc is the positive terminal. when power is applied within the normal limits, the device is fully accessible and data can be written and read. when v cc drops below the normal limits, reads and writes are inhibited. as v cc drops below the battery voltage, the ram and timekeeping circuits are switched over to the battery. ? 2, 3, 21, 25 ? n.c. no connect * see ?conditions of acceptability? at www.maxim-ic.com/techsupport/qa/ntrl.htm .
ds1501/DS1511 y2kc watchdog real-time clocks 10 of 20 figure 8. block diagram figure 9. typical crystal layout crystal x1 x2 gnd local ground plane (layer 2) r st p wr 256 x 8 nv sram power control write protection, and power-on reset 16 x 8 clock and control registers v bat v bat v baux gnd k s a0?a4 dq0?dq7 c e w e o e x1 x2 32.768khz clock oscillator i rq sqw clock alarm and watchdog countdown dallas semiconductor ds1501/DS1511
ds1501/DS1511 y2kc watchdog real-time clocks 11 of 20 detailed description the rtc registers are double buffered into an internal and external set. the user has direct access to the external set. clock/calendar updates to the external set of registers can be disabled and enabled to allow the user to access static data. when the crystal oscillator is turned on, the internal set of registers are continuously updated; this occurs regardless of external register settings to guarantee that accurate rtc information is always maintained. the ds1501/DS1511 contain their own power-fail circuitry that automatically deselects the device when the v cc supply falls below a power-fail trip point. this feature provides a high degree of data security during unpredictable system operation caused by low v cc levels. the ds1501/DS1511 have interrupt ( irq ), power control ( pwr ), and reset ( rst ) outputs that can be used to control cpu activity. the irq interrupt or rst outputs can be invoked as the result of a time-of-day alarm, cpu watchdog alarm, or a kickstart signal. the ds 1501/DS1511 power-control circuitry allow the system to be powered on by an external stimulus, such as a keyboard or by a time and date (wakeup) alarm. the pwr output pin can be triggered by one or either of these events, and can be used to turn on an external power supply. the pwr pin is under software control, so that when a task is complete, the system power can then be shut down. the ds1501/DS1511 power-on reset can be used to detect a system power-down or failure and hold the cpu in a safe reset state until normal power returns and stabilizes; the rst output is used for this function. the ds1501/DS1511 are clock/calendar chips with the features described above. an external crystal and battery are the only components required to maintain time-of-day and memory status in the absence of power. table 1. rtc operating modes v cc ce oe we dq0?dq7 a0?a4 mode power v ih x x high-z x deselect standby v il x v il d in a in write active v il v il v ih d out a in read active in tolerance v il v ih v ih high-z a in read active v so < v cc < v pf x x x high-z x deselect cmos standby v cc  v so < v pf x x x high-z x data retention battery current data read mode the ds1501/DS1511 are in read mode whenever ce (chip enable) and oe (output enable) are low and we (write enable) is high. the device architecture allows ripple-through access to any valid address location. valid data is available at the dq pins within t aa (address access) after the last address input is stable, provided that ce and oe access times are satisfied. if ce or oe access times are not met, valid data is available at the latter of chip-enable access (t csa ) or at output-enable access time (t oea ). the state of the data input/output pins (dq) is controlled by ce and oe . if the outputs are activated before t aa , the data lines are driven to an intermediate state until t aa . if the address inputs are changed while ce and oe remain valid, output data remains valid for output-data hold time (t oh ) but then goes indeterminate until the next address access (table 1). data write mode the ds1501/DS1511 are in write mode whenever ce and we are in their active state. the start of a write is referenced to the latter occurring transition of ce or we . the addresses must be held valid throughout the cycle. ce or we must return inactive for a minimum of t wr prior to the initiation of a subsequent read or write cycle. data in must be valid t ds prior to the end of the write and remain valid for t dh afterward. in a typical application, the oe signal is high during a write cycle. however, oe can be active provided that care is taken with the data bus to avoid bus contention. if oe is low prior to a high-to-low transition on we , the data bus can become active with read data defined by the address inputs. a low transition on we then disables the outputs t wez after we goes active (table 1).
ds1501/DS1511 y2kc watchdog real-time clocks 12 of 20 data retention mode the ds1501/DS1511 are fully accessible, and data can be written and read only when v cc is greater than v pf . however, when v cc falls below the power-fail point v pf (point at which write protection occurs) the internal clock registers and sram are blocked from any access. while in the data retention mode, all inputs are don?t cares and outputs go to a high-z state, with the possible exception of ks , pwr , sqw, and rst . if v pf is less than v bat and v baux , the device power is switched from v cc to the greater of v bat and v baux when v cc drops below v pf . if v pf is greater than v bat and v baux , the device power is switched from v cc to the larger of v bat and v baux when v cc drops below the larger of v bat and v baux . rtc operation and sram data are maintained from the battery until v cc is returned to nominal levels (table 1). if the square-wave and battery-backup 32khz functions are enabled, v baux always provides power for the square-wave output, when the device is in battery-backup mode. auxiliary battery the v baux input is provided to supply power from an auxiliary battery for the ds1501/DS1511 kickstart and square- wave output features in the absence of v cc . this power source must be available to use these auxiliary features when v cc is not applied to the device. this auxiliary battery can be used as the primary backup power source for maintaining the clock/calendar and external user ram. this occurs if the v bat pin is at a lower voltage than v baux . if the ds1501/DS1511 are to be backed up using a single battery with the auxiliary features enabled, then v baux should be used and connected to v bat should be grounded (ds1501). if v baux is not to be used, it must be grounded. oscillator control bit when the DS1511 is shipped from the factory, the internal oscillator is turned off. this feature prevents the lithium energy cell from being used until it is installed in a system. the oscillator is automatically enabled when power is first applied. power-on reset a temperature-compensated comparator circuit monitors the level of v cc . when v cc falls to the power-fail trip point, the rst signal (open drain) is pulled low. when v cc returns to nominal levels, the rst signal continues to be pulled low for a period of t rec . the power-on reset function is independent of the rtc oscillator and therefore operational whether or not the oscillator is enabled. time and date operation the time and date information is obtained by reading the appropriate register bytes. table 2 shows the rtc registers. the time and date are set or initialized by writing the appropriate register bytes. the contents of the time and date registers are in bcd format. hours are in 24-hour mode. the day-of-week register increments at midnight. values that correspond to the day of week are user defined but must be sequential (i.e., if 1 equals sunday, then 2 equals monday, and so on). illogical time and date entries result in undefined operation. reading the clock when reading the clock and calendar data, it is possible to access the registers while an update (once per second) occurs. there are three ways to avoid using invalid time and date data. the first method uses the transfer enable (te) bit in the control b register. transfers are halted when a 0 is written to the te bit. setting te to 0 halts updates to the user-accessible registers, while allowing the internal registers to advance. after the registers are read, the te bit should be written to 1. te must be kept at 1 for at least 366  s to ensure a user register update. the time and date registers can be read and stored in temporary variables. the time and date registers are then read again, and compared to the first values. if the values do not match, the time and date registers should be read a third time and compared to the previous values. this should be done until two consecutive reads of the time and date registers match. the te bit should always be enabled when using this method for reading the time and date,.
ds1501/DS1511 y2kc watchdog real-time clocks 13 of 20 the third method of reading the time and date uses the alarm function. the alarm can be configured to activate once per second, and the time-of-day alarm-interrupt enable bit (tie) is enabled. the te bit should always be enabled. when the irq pin goes active, the time and date information does not change until the next update. setting the clock it is recommended to halt updates to the external set of double-buffered rtc registers when writing to the clock. the (te) bit should be used as described above before loading the rtc registers with the desired rtc count (day, date, and time) in 24-hour bcd format. setting the te bit to 1 transfers the new values written to the internal rtc registers and allows normal operation to resume. clock accuracy the accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match between the capacitive load of the oscillator circuit and the capacitive load for which the crystal was trimmed. additional error is added by crystal frequency drift caused by temperature shifts. external circuit noise coupled into the oscillator circuit can result in the clock running fast. a standard 32.768khz quartz crystal should be directly connected to the ds1501 x1 and x2 oscillator pins. the crystal selected for use should have a specified load capacitance (c l ) of either 6pf or 12.5pf, and the cs bit set accordingly. an external 32.768khz oscillator can also drive the ds1501. when using an external oscillator the x2 pin must be left open. the DS1511 contains an embedded crystal and is factory trimmed to be better than 1 min/month at +25 c. refer to application note 58: crystal considerations for dallas real-time clocks for detailed information. table 2. register map data address b7 b6 b5 b4 b3 b2 b1 b0 function bcd range 00h 0 10 seconds seconds seconds 00?59 01h 0 10 minutes minutes minutes 00?59 02h 0 0 10 hours hour hours 00?23 03h 0 0 0 0 0 day day 1?7 04h 0 0 10 date date date 01?31 05h eosc e32k bb32 10 month month month 01?12 06h 10 year year year 00?99 07h 10 century century century 00?39 08h am1 10 seconds seconds alarm seconds 00?59 09h am2 10 minutes minutes alarm minutes 00?59 0ah am3 0 10 hours hour alarm hours 00?23 0bh am4 dy/dt 10 date day/date alarm day/date 1?7/1?31 0ch 0.1 second 0.01 second watchdog 00?99 0dh 10 second second watchdog 00?99 0eh blf1 blf2 prs pab tdf ksf wdf irqf control a 0fh te cs bme tpe tie kie wde wds control b 10h extended ram address ram address 00?ff 11h reserved 12h reserved 13h extended ram data ram data 00?ff 14h-1fh reserved note: 0 = 0 and are read only. power-up default states these bits are set upon power-up: eosc = 0, e32k = 0, tie = 0, kie = 0, wde = 0, and wds = 0. unless otherwise specified, the state of the control/rtc/sram bits in the ds1501/DS1511 is not defined upon initial power application; the ds1501/DS1511 should be properly configured/defined during initial configuration.
ds1501/DS1511 y2k watchdog real-time clock 14 of 20 using the clock alarm the alarm settings and control reside within registers 08h to 0bh (table 2). the tie bit and alarm mask bits am1 to am4 must be set as described below for the irq or pwr outputs to be activated for a matched alarm condition. the alarm functions as long as at least one supply is at a valid level. note that activating the pwr pin requires the use of v baux . the alarm can be programmed to activate on a specific day of the month, day of the week, or repeat every day, hour, minute, or second. it can also be programmed to go off while the ds1501/DS1511 are in the battery-backed state of operation to serve as a system wakeup. alarm mask bits am1 to am4 control the alarm mode. table 3 shows the possible settings. configurations not listed in the table default to the once-per-second mode to notify the user of an incorrect alarm setting. when the rtc regist er values match alarm register settings, the time-of- day/date alarm flag tdf bit is set to 1. once the tdf flag is set, the tie bit enables the alarm to activate the irq pin. the tpe bit enables the alarm flag to activate the pwr pin. note that te must be enabled when a match occurs for the flags to be set. table 3. alarm mask bits dy/dt am4 am3 am2 am1 alarm rate x 1 1 1 1 once per second x 1 1 1 0 when seconds match x 1 1 0 0 when minutes and seconds match x 1 0 0 0 when hours, minutes, and seconds match 0 0 0 0 0 when date, hours, minutes, and seconds match 1 0 0 0 0 when day, hours, minutes, and seconds match control registers the ds1501/DS1511 controls and status information for the features are maintained in the following register bits. month register (05h) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 eosc e32k bb32 10 month month eosc, oscillator start/stop bit (05h bit 7) this bit when set to logic 0 starts the oscillator. when this bit is set to logic 1, the oscillator is stopped. this bit is automatically set to logic 0 by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. e32k, enable 32.768khz output (05h bit 6) this bit, when written to 0, enables the 32.768 khz oscillator frequency to be output on the sqw pin if the oscillator is running. this bit is automatically set to logic 0 by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. bb32, battery backup 32khz enable bit (05h bit 5) when the bb32 bit is written to 1, it enables a 32khz signal to be output on the sqw pin while the part is in battery-backup mode, if voltage is applied to v baux. am1 to am4, alarm mask bits (08h bit 7; 09h bit 7; 0ah bit 7; 0bh bit 7) bit 7 of registers 08h to 0bh contains an alarm mask bit, am1 to am4. these bits, in conjunction with the tie described later, allow the irq output to be activated for a matched-alarm condition. the alarm can be programmed to activate on a specific day of the month, day of the week, or repeat every day, hour, minute, or second. table 3 shows the possible settings for am1 to am4 and the resulting alarm rates. configurations not listed in the table default to the once-per-second mode to notify the user of an incorrect alarm setting. dy/dt, day/date bit (0bh bit 6) the dy/dt bit controls whether the alarm value stored in bits 0 to 5 of 0bh reflects the day of the week or the date of the month. if dy/dt is written to a 0, the alarm is the result of a match with the date of the month. if dy/dt is written to a 1, the alarm is the result of a match with the day of the week.
ds1501/DS1511 y2k watchdog real-time clock 15 of 20 control a register (0eh) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 blf1 blf2 prs pab tdf ksf wdf irqf blf1, valid ram and time bit 1 (0eh bit 7); blf2, valid ram and time bit 2 (0eh bit 6) these status bits give the condition of any batteries attached to the v bat or v baux pins. the ds1501/DS1511 constantly monitor the battery voltage of the backup-battery sources (v bat and v baux ). the blf1 and blf2 bits are set to 1 if the battery voltages on v bat and v baux are less than v blf (typ), otherwise blf1 and blf2 bits are 0. blf1 reflects the condition of v bat with blf2 reflecting v baux . if either bit is read as 1, the voltage on the respective pin is inadequate to maintain the ram memory or clock functions. these bits are read only. prs, reset select bit (0eh bit 5) when set to 0, the pwr pin is set high-z when the ds150/DS1511 go into power-fail. when set to 1, the pwr pin remains active upon entering power-fail. pab, power active-bar control bit (0eh bit 4) when this bit is 0, the pwr pin is in the active-low state. when this bit is 1, the pwr pin is in the high-impedance state. the user can write this bit to 1 or 0. if either tdf and tpe = 1 or ksf = 1, the pab bit is cleared to 0. this bit can be read or written. tdf, time-of-day/date alarm flag (0eh bit 3) a 1 in the tdf bit indicates that the current time has matched the alarm time. if the tie bit is also 1, the irq pin goes low and a 1 appears in the irqf bit. this bit is cleared by reading the register or writing it to 0. ksf, kickstart flag (0eh bit 2) this bit is set to a 1 when a kickstart condition occurs or when the user writes it to 1. if the kie bit is also 1, the irq pin goes low and a 1 appears in the irqf bit. this bit is cleared by reading the register or writing it to 0. wdf, watchdog flag (0eh bit 1) if the processor does not access the ds1501/DS1511 with a write within the period specified in addresses 0ch and 0dh, the wdf bit is set to 1. wdf is cleared by writing it to 0. irqf, interrupt request flag (0eh bit 0) the interrupt request flag (irqf) bit is set to 1 when one or more of the following are true: tdf = tie = 1 ksf = kie = 1 wdf = wde = 1 i.e., irqf = (tdf x tie) + (ksf x kie) + (wdf x wde) any time the irqf bit is 1, the irq pin is driven low. clearing irq and flags the time-of-day/date alarm flag (tdf), watchdog flag (wdf), kickstart flag (ksf), and interrupt request flag (irqf) are cleared by reading the flag register (0eh). the address must be stable for a minimum of 15ns while ce and oe are active. after the address stable requirement has been met, either a change in address, a rising edge of oe , or a rising edge of ce causes the flags to be cleared. the irq pin goes inactive after the irqf flag is cleared. tdf and wdf can also be cleared by writing to 0.
ds1501/DS1511 y2k watchdog real-time clock 16 of 20 control b register (0fh) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 te cs bme tpe tie kie wde wds te, transfer enable bit (0fh bit 7) when the te bit is 1, the update transfer functions normally by advancing the counts once per second. when the te bit is written to 0, any update transfer is inhibited and the program can initialize the time and calendar bytes without an update occurring in the midst of initializing. read cycles can be executed in a similar manner. te is a read/write bit that is not modified by internal functions of the ds1501/DS1511. cs, crystal select bit (0fh bit 6) when cs is set to 0, the oscillator is configured for operation with a crystal that has a 6pf specified load capacitance. when cs = 1, the oscillator is configured for a 12.5pf crystal. cs is disabled in the DS1511 module and should be set to cs = 0. bme, burst-mode enable bit (0fh bit 5) the burst-mode enable bit allows the extended user ram address registers to automatically increment for consecutive reads and writes. when bme is set to 1, the automatic incrementing is enabled; when bme is set to 0, the automatic incrementing is disabled. tpe, time-of-day/date alarm power-enable bit (0fh bit 4) the wakeup feature is controlled through the tpe bit. when the tdf flag bit is set to 1, if tpe is 1, the pwr pin is driven active. therefore, setting tpe to 1 enables the wakeup feature. writing a 0 to tpe disables the wakeup feature. tie, time-of-day/date alarm interrupt-enable bit (0fh bit 3) the tie bit allows the tdf flag to assert an interrupt. when the tdf flag bit is set to 1, if tie is 1, the irqf flag bit is set to 1. writing a 0 to the tie bit prevents the tdf flag from setting the irqf flag. this bit is automatically cleared to logic 0 by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. kie, kickstart enable-interrupt bit (0fh bit 2) the kie bit allows the ksf flag to assert an interrupt. when the ksf flag bit is set to 1, if kie is a 1, the irqf flag bit is set to 1. writing a 0 to the kie bit prevents the ksf flag from setting the irqf flag. this bit is automatically cleared to logic 0 by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. wde, watchdog enable bit (0fh bit 1) when wde is set to 1, the watchdog function is enabled, and either the irq or rst pin is pulled active, based on the state of the wds and wdf bits. this bit is automatically cleared to logic 0 to by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. wds, watchdog steering bit (0fh bit 0) if wds is 0 when the watchdog flag bit wdf is set to 1, the irq pin is pulled low. if wds is 1 when wdf is set to 1, the watchdog outputs a negative pulse on the rst output. the wde bit resets to 0 immediately after rst goes active. this bit is automatically cleared to logic 0 to by the internal power-on reset when power is applied and v cc rises above the power-fail voltage. clock oscillator control the clock oscillator can be stopped at any time. to increase the shelf life of a backup lithium-battery source, the oscillator can be turned off to minimize current drain from the battery. the eosc bit is used to control the state of the oscillator, and must be set to 0 for the oscillator to function. using the watchdog timer the watchdog timer can be used to restart an out-of-control processor. the watchdog timer is user programmable in 10ms intervals ranging from 0.01 seconds to 99.99 seconds. the user programs the watchdog timer by writing the timeout value into the two bcd watchdog registers (0ch and 0dh). the watchdog reloads and restarts whenever the watchdog times out. if either watchdog register is nonzero, a timeout sets the wdf bit to 1,
ds1501/DS1511 y2k watchdog real-time clock 17 of 20 regardless of the state of the watchdog enable (wde) bit, to serve as an indication to the processor that a watchdog timeout has occurred. the watchdog timer operates in two modes, repetitive and single-shot. if wde is 1 and the watchdog steering bit (wds) is 0, the watchdog is in repetitive mode. when the watchdog times out, both wdf and irqf are set. irq goes active and irqf goes to 1. the watchdog timer is reloaded when the processor performs a write of the watchdog registers and the timeout period restarts. reading control a register clears the irq flag. if wde and wds are 1, the watchdog is in single-shot mode. when the watchdog times out, rst goes active for a period of 40ms to 200ms. when rst goes inactive, wde resets to 0. writing a value of 00h to both watchdog registers disables the watchdog timer. the watchdog function is automatically disabled upon power-up by the power-on reset setting wde = 0 and wds = 0. the watchdog registers are not initialized at power-up and should be initialized by the user. note: the te bit must be used to disable transfers when writing to the watchdog registers. the following summarizes the configurations in which the watchdog can be used: wde = 0 and wds = 0: wdf is set. wde = 0 and wds = 1: wdf is set. wde = 1 and wds = 0: wdf and irqf are set, and the irq pin is pulled low. wde = 1 and wds = 1: wdf is set, the rst pin pulses low, and wde resets to 0. wakeup/kickstart the ds1501/DS1511 incorporate a wakeup feature, which powers on at a predetermined day/date and time by activating the pwr output pin. additionally, the kickstart feature allows the system to be powered up in response to a low-going transition on the ks pin, without operating voltage applied to the v cc pin. as a result, system power can be applied upon such events as key closure or a modem-ring-detect signal. to use either the wakeup or the kickstart features, the ds1501DS1511 must have an auxiliary battery connected to the v baux pin, and the oscillator must be running. the wakeup feature is controlled through the time-of-day/date power-enable bit (tpe). setting tpe to 1 enables the wakeup feature. transfers (te) must be enabled for a wake up event to occur. writing tpe to 0 disables the wakeup feature. the kickstart feature is always enabled as long as v baux is present. if the wakeup feature is enabled, while the system is powered down (no v cc voltage), the clock/calendar monitors the current day or date for a match condition with day/date alarm register (0bh). with the day/date alarm register, the hours, minutes, and seconds alarm bytes in the clock/calendar register map (02h, 01h, and 00h) are also monitored. as a result, a wakeup occurs at the day or date and time specified by the day/date, hours, minutes, and seconds alarm register values. this additional alarm occurs regardless of the programming of the tie bit. when the match condition occurs, the pwr pin is automatically driven low. this output can turn on the main system power supply that provides v cc voltage to the ds1501/DS1511, as well as the other major components in the system. also at this time, the time-of-day/date alarm flag is set (tdf), indicating a wakeup condition has occurred. if v baux is present, while v cc is low, the ks input pin is monitored for a low-going transition of minimum pulse width t kspw . when such a transition is detected, the pwr line is pulled low, as it is for a wakeup condition. also at this time, ksf is set, indicating that a kickstart condition has occurred. the ks input pin is always enabled and must not be allowed to float. the timing associated with the wakeup and kickstarting sequences is illustrated in figure 7. these functions are divided into five intervals, labeled 1 to 5 on the diagram. the occurrence of either a kickstart or wakeup condition causes the pwr pin to be driven low, as described above. during interval 1, if the supply voltage on the v cc pin rises above v so before the power-on timeout period (t poto ) expires, then pwr remains at the active-low level. if v cc does not rise above the v so in this time, then the pwr output pin is turned off and returns to its high-impedance level. in this event, the irq pin also remains tri-stated. the interrupt flag bit (either tdf or ksf) associated with the attempted power-on sequence remains set until cleared by software during a subsequent system power-on.
ds1501/DS1511 y2k watchdog real-time clock 18 of 20 if v cc is applied within the timeout period, the system power-on sequence continues, as shown in intervals 2 to 5 in the timing diagram. during interval 2, pwr remains active, and irq is driven to its active-low level, indicating that either tdf or ksf was set in initiating the power-on. in the diagram, ks is assumed to be pulled up to the v baux supply. also at this time, the pab bit is automatically cleared to 0 in response to a successful power-on. the pwr line remains active as long as the pab remains cleared to 0. at the beginning of interval 3, the system processor has begun code execution and clears the interrupt condition of tdf and/or ksf by reading the flags register or by writing tdf and ksf to 0. as long as no other interrupt within the ds1501/DS1511 is pending, the irq line is taken inactive once these bits are reset, and execution of the application software can proceed. during this time, the wakeup and kickstart functions can be used to generate status and interrupts. tdf is set in response to a day/date, hours, minutes, and seconds match condition. ksf is set in response to a low-going transition on ks . if the associated interrupt-enable bit is set (tde and/or kie), then the irq line is driven low in response to enabled event. in addition, the other possible interrupt sources within the ds1501/DS1511 can cause irq to be driven low. while system power is applied, the on-chip logic always attempts to drive the pwr pin active in response to the enabled kickstart or wakeup condition. this is true even if pwr was previously inactive as the result of power being applied by some means other than wakeup or kickstart. the system can be powered down under software control by setting the pab bit to 1. the pab bit can only be set to 1 after the tdf and ksf flags have been cleared to 0. setting pab to 1 causes the open-drain pwr pin to be placed in a high-impedance state, as shown at the beginning of interval 4 in the timing diagram. as v cc voltage decays, the irq output pin is placed in a high-impedance state when v cc goes below v pf . if the system is to be again powered on in response to a wa keup or kickst art, then both the tdf and ksf flags should be cleared, and tpe and/or kie should be enabled prior to setting the pab bit. during interval 5, the system is fully powered down. battery backup of the clock calendar and nv ram is in effect and irq is tri-stated, and monitoring of wakeup and kickstart takes place. if prs = 1, pwr stays active; otherwise, if prs = 0, pwr is tri-stated. square-wave output the square-wave output is enabled and disabled through the e32k bit. if the square wave is enabled ( e32k = 0) and the oscillator is running, then a 32.768khz square wave is output on the sqw pin. if the battery-backup 32khz-enable bit (bb32) is enabled, and voltage is applied to v baux , then the 32.768khz square wave is output on the sqw pin in the absence of v cc . battery monitor the ds1501/DS1511 constantly monitor the battery voltage of the backup-battery sources (v bat and v baux ). the battery low flags blf1 and blf2 are set to 1 if the battery voltages on v bat and v baux are less than v blf (typical); otherwise, blf1 and blf2 are 0. blf1 monitors v bat and blf2 monitors v baux . 256 x 8 extended ram two on-chip latch registers control access to the sram. one register is used to hold the sram address; the other is used to hold read/write data. the sram address space is from 00h to ffh. the 8-bit address of the ram location to be accessed must be loaded into the extended ram address register located at 10h. data in the addressed location can be read by performing a read operation from location 13h, or written to by performing a write operation to location 13h. data in any addressed location can be read or written repeatedly with changing the address in location 10h. to read or write consecutive extended ram locations, a burst mode feature can be enabled to increment the extended ram address. to enable the burst mode feature, set the bme bit to 1. with burst mode enabled, write the extended ram starting address location to register 10h. then read or write the extended ram data from/to register 13h. the extended ram address locations are automatically incremented on the rising edge of oe , ce, or we only when register 13h is being accessed (figure 4). the address pointer wraps around after the last address is accessed.
ds1501/DS1511 y2k watchdog real-time clock 19 of 20 selector guide part nominal supply (v) top mark ds1501 yn 5 ds1501yn ds1501yen 5 ds1501yen ds1501ysn 5 ds1501ysn ds1501wn 3.3 ds1501wn ds1501wen 3.3 ds1501wen ds1501wsn 3.3 ds1501wsn DS1511 y 5 DS1511y DS1511w 3.3 DS1511w pin configurations (continued) 720-mil module n.c. n.c. a 4 a 3 a 2 a 1 a 0 dq0 dq1 dq2 gnd p w r r st i r q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 sqw n.c. dq7 dq6 dq5 dq4 dq3 ce oe ks we v baux n.c. cc v dallas semiconducto r DS1511 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 2 3 4 5 6 7 8 9 10 11 12 13 14 o e a3 sqw ks v baux v bat w e v cc x1 x2 a4 i r q r st p w r gnd dq6 dq5 dq4 dq3 dq2 dq1 dq0 a0 a1 a2 gnd dq7 c e tsop dallas semiconductor ds1501 top view
ds1501/DS1511 y2k watchdog real-time clock maxim/dallas semiconductor cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a ma xim/dallas semiconductor product. no circuit patent licenses are implied. maxim/dallas semiconductor reserves the right to change the circuitry and specification s without notice at any time. maxim integrated products, 120 san gabriel drive, sunnyvale, ca 94086 408-737-7600 ? 2004 maxim integrated products  printed usa 20 of 20 typical operating circuits package information (for the latest package outline information, go to www.maxim-ic.com/dallaspackinfo .) dallas semiconductor ds1501 cpu v cc v cc v cc i r q rst gnd x2 x1 v cc rpu crystal sqw v bat dq0?dq7 r st w e o e v baux k s p w r c e a0?a4 irq gnd dallas semiconductor DS1511 cpu v cc v cc v cc i r q rst gnd v cc rpu sqw dq0?dq7 r st w e o e v baux k s p w r c e a0?a4 irq gnd


▲Up To Search▲   

 
Price & Availability of DS1511

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X